ceph osd pool delete testpool testpool --yes-i-really-really-mean-it

ceph osd pool create testpool 512 512
ceph osd pool set testpool size 1
rbd create testimg --size 400G -p testpool --image-feature layering

#for ((i=1; i<9; i++))
#do
#   img=`rbd ls -p testpool | grep testimg$i`
#   if [ $img = "testimg$i" ]; then
#       echo "image: testimg$i has exist!"
#   else
#     rbd create testimg$i --size 409600 -p testpool --image-feature layering
#   fi
#done
#
